package com.sname.car.common.exception;

import com.sname.car.common.constants.Constants;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author songx
 * @date 2018/9/21 22:14
 */
public class CarException extends Exception {
    /**
     * Author song  醉美柳舞之众星捧月
     * Date & Time  2018/9/21 22:14
     * Description  自定义异常类
     */
    public CarException() {
    }

    public CarException(String Message) {
        super(Message);
    }

    public int getStatusCode() {
        return Constants.RESP_STATUS_CODE;
    }

}
